using System;
using System.Collections.Generic;
using System.Text;

namespace LibrErian.Common
{
    public class SearchArgs
    {
        private SearchType searchType;
        private int key;

        public SearchType SearchType
        {
            get { return searchType; }
            set { searchType = value; }
        }

        public int Key
        {
            get { return key; }
            set { key = value; }
        }
    }

    public enum SearchType
    {
        All = 0,
        Genre = 1,
        Author = 2
    }
}
